Updating graph data