Update TreeElement.java