How can I update the webix gantt through a selector?

I am trying to update the webix information using the parse function, however this damages the structure order that it has at the beginning. For this example, use the same data with which it initializes and try to update, but when doing so the order of the information is changed. it breaks, I attach the link to my test

https://snippet.webix.com/zvoi16q2

Hi,
Webix Gantt has the reload method, so you can make use of it. Also it’s better to use webix.copy for data that’s been passed to Gantt previously, as it’s passed by reference and the original array gets changed by the inner Webix logic (in this case, Webix Tree Table that’s inside Gantt).
https://snippet.webix.com/0ydrm85c