Update sendnotifications.php