Spelling and query update