updated attr validations for question and answer models