update lda classifier