update eventhandlers