update the scoring