rewrite sync to look for recent changes since last sync date