Fixed update-reboot script