Updating files before reboot