Updating tree node label

I have to set new label of specified node. How can I do it?

You can do it by next code

    tree.setItemText(id,new_text);