Object Change in Layout

befor i say my problematics, i must say dhtmlx is really a nice tool.

I have a question:

I create a object in a “layout” with “view”
is it possible change the object in the layout?

with .define() is it impossible change the view.

i will change a chart in a template.

you can reload configuration of layout as

dhx.ui([ { view:"template" } //or any other ], $$("layout_id"))

it will destroy existing views in layout and replace them with new one