update.sh now restarts if updating the repo changes it