Update manageEvents.php