ensuring repository is up to date