update score when problem is completed