update levenshtein