Updated the tree structure