update score (lesson26)