select package_id from dotlrn_community_applets where applet_id=(select applet_id from dotlrn_applets where applet_key='dotlrn_fs') and community_id=:selected_community; update cr_items set parent_id=:root_folder_id where item_id=:object_id update acs_objects set context_id =:root_folder_id where object_id=:object_id update cr_items set parent_id=:trash_id where item_id=:object_id update acs_objects set context_id =:trash_id where object_id=:object_id