update update_score method