updated fuzzy string matching