Update scoring algorithm