Best practise for updating complex layouts

Selecting a node of a tree fires up the creation of complex tab sheet with until 5 tabs containing labels and panels.

Each node represents a certain type with different tabs.

Actual, the code works with
and rebuilding the complete layout.

For performance - would be following handling better?

e.g - selecting a new node -
there are tree tabs available from the former node - rename and change only the icons of the tab.
next iteration - the tab contains a label which is also vaild for the new node - reuse the label and update only the content - and so on.

with best regards