Update Vertex.java