Added update function in word
Added update to bigram
Added update to trigram