I have added a child node to the TreePanel using appendChild.

selectedNode.appendChild(
{
text: 'Node 1',
leaf: true,
iconCls: '#Briefcase'
}
How can I then change this text once its been added?

I have tried the following but the node text doesn't update until I expand/collpase the parent :

selectedNode.data.text = 'New Text';
selectedNode.set('title', 'New Text');
selectedNode.set("text", 'New Text');
treePanel.store.update();
Is there another way to force the change?