Update eventmanager.php