updated the dirichlet distribution. c=2