makes the sync automatic