set date to updated_at