Update sync to delete properly