update candy distribution class