update lda_trainer