Update Tree.java