Moved updatePriors to SearchNode.