update survsimp_questions set required_p = logical_negation(required_p) where survey_id = :survey_id and question_id = :question_id