Added method to update last-modified field