Update mailalerts.php