now repulling the graph data on state change with polling