change graph data