update warranty set status='expired' where date_expire < now() - interval 1 day;
