implement support for automated lastModified update