Update an event handler

Updates an existing event handler definition.