update deprecated parts of sync
Merge pull request #400 from Heather/master