Update Tree.py