Added updateQuestion and checkAnswer.