update the vocabulary