updateScore working with client-side