Updating ref to repo