update as_assessment_section_map
set section_id = :new_section_id
where assessment_id = :new_assessment_rev_id
and section_id = :section_id
update as_item_section_map
set sort_order = sort_order+1
where section_id = :new_section_id
and sort_order > :after
insert into as_item_section_map
(as_item_id, section_id, enabled_p, required_p, sort_order)
values (:as_item_id, :new_section_id, 't', 'f', :after)