Fix bug where the update script is automatically called.