updates (new weighted levenshtein)