made unigram updating more efficient