sudo rpi-eeprom-update -a
Then reboot to end update.If a firmware update is available you will be prompted to install it and your Raspberry Pi will reboot. More information about updating the firmware on your Raspberry Pi is available elsewhere in the documentation. Then restart and the firmware will be updated (requires Internet access).