update score functionality!