updated the probability weights