change event to have all the event type used by the hooks