select parent_id from cr_items where item_id = :folder_id
update acs_objects
set context_id = :new_folder_id
where object_id = :folder_id
select name from cr_items where item_id = :folder_id
select count(*)
from cr_items
where name = :folder_name
and parent_id = :new_folder_id