Sync repository