Update TypeEvent.class.php