updated graph lab.