updates to lda