Update insertEvents.php