update the update script to use git