changed udpate to use git