Commits the DayPilot.Task changes made using the change methods like text(newText), start(newStart), and updates the Gantt chart.
DayPilot.Gantt.tasks.update(task);
var task = gantt.tasks.find("1");
var newStart = task.start().addDays(1);
var newEnd = task.end().addDays(1);
task.start(newStart);
task.end(newEnd);
gantt.tasks.update(task);