Update sync.cpp

added cr