tree structure changes