Update MyVertex.java