Update LevenshteinDistance