updated graph plugin