Update sendEvent.php