Update getEvents.php