update fs_simple_objects set
name= :name,
description= :description
where object_id= :url_id
update fs_urls set
url= :url
where url_id= :url_id
update fs_simple_objects set
folder_id= :folder_id
where url_id= :url_id
select case when count(*) = 0 then 0 else 1 end
from fs_simple_objects
where object_id = :object_id