Update Graph, Vertex, main