modified sync task