modify graphDiff