update the handlers