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