update acs_attributes
set pretty_name = :pretty_name,
pretty_plural = :pretty_plural
where object_type = :object_type
and attribute_name = :attribute_name
select attribute_id
from acs_attributes
where object_type = :object_type
and attribute_name = :attribute_name
select *
from acs_attributes
where object_type = :object_type
and attribute_name = :attribute_name