To do a full upgrade of a Pi you need to do these commands:
sudo apt-get update
sudo apt-get dist-upgrade
sudo rpi-update
The last one is the one that many do not know about!

To do a full upgrade of a Pi you need to do these commands:
sudo apt-get update
sudo apt-get dist-upgrade
sudo rpi-update
The last one is the one that many do not know about!

Cheers matey!