changes for autosync.