Update sampling.