udpate the distribution