dried up datasync code for updating of last sync