Update graph data