updated graph and testing map