modify the tree Demo