fix: lastModified was never updated