topic model implementation update