Fixed a bug with GraphData.update.