Update and restart the machine