split sync in 2 phases prepare and sync, renamed synch to sync