Update trail.java