The update() method updates an event in the Month event collection and returns a DayPilot.Action object that can queue the update or send it to the server immediately.
DayPilot.Month.events.update(e, data)e (DayPilot.Event or the raw data object) - event to be updated
data (object) - custom data to be sent to the server with the Notify event
Returns a DayPilot.Action object that stores the action details.
When passing a DayPilot.Event object, obtain it using DayPilot.Month.events.find().
Change the text of an event with ID "123":
const e = dpm.events.find("123");
e.text("New Event Name");
dpm.events.update(e);Client-Side Event API [doc.daypilot.org]
Notify Queue [doc.daypilot.org]