Update TreeReference.java