add last_modified attribute