Functionality added to update the database with questions.