Updates word list on category change