Update Graph.cc