update as_assessments set anonymous_p = (case when anonymous_p = 't' then 'f' else 't' end) where assessment_id = :assessment_id