Update Frequent Words with Mismatches Problem