Fixed last modified timestamp not updating