complete update command with reboot (when necessary)