Write change_date on insert and update for MySQL