adding improvements for sync
sync improvements