updated dissimilarity distance & graphs