update eventhandler