update question class