update score (lesson20)