update probability