The rows.update() method updates the specified JavaScript Scheduler row.
DayPilot.Scheduler.rows.update(row);row (DayPilot.Row) - Scheduler row to update
You can get the DayPilot.Row object using rows.find().
After changing DayPilot.Row.data, which holds the source data object, call rows.update() to apply the changes.
const row = dp.rows.find("A");
row.data.name = "Room A1";
dp.rows.update(row);