syncing repo and server