edit the handler