Update Term.java