Update EndPoint.java