Syncing with repository