update Question function