updating lexicon