new version of sync
sync now updates files only if they changed in the server