Update Triple.java