is this duplicating the existing sync code? If it's common perhaps we can pull it out into an actual syncExisting function or something?