Update treenode