Update scoring algorithm.