fixed last_modified update