updated the tree view