Update trail.jsp