Updates the event name and parameters for the render