add last_edit_date logic