Update im_sync.cpp