basic func to update questions