making sure repository is up to date