use path.isModified to check for updates