Update the levenshtein distance method in guides.