finished writing updateNode in Graph