added sync with lastmodified