added functionality to all question types to update answers onchange