now updating probabilities within each updateBoard function call