update the distribution