fixed spellCheck data structure reference problem

Now passes both word and index to update() data structures to
accommodate differences in type (word_list is a list ; ignore_set is a
set ; replace_dict is a dictionary)