small update to lda