update score calculate