I neeed to replace some data on the tree, then run treemodel.update() and after that select a node. Tree is already rendered at that time. This is my code:
fo