support multinomial, update sampler