Update to repo script