How to update Raspbian – firmware, kernal and software

Check which Kernel you are running

uname -a

My current version is 3.10.37+

Update the list of software repositories

sudo apt-get update

Updating the Firmware

sudo rpi-update

sudo reboot

Updating the Kernel

sudo apt-get -y dist-upgrade

Update the software

sudo apt-get update

Or all in one

sudo apt-get update
sudo rpi-update
sudo apt-get -y dist-upgrade
sudo apt-get update

Warning - all of the above could be bogus