update the probability value of RW