Added auto update to the graph.