Add syncing and source newer detection functions