Update to fix reset of graph.