allow to change the event in the triggered event handlers