select title, body, color
from template_demo_notes
where template_demo_note_id = :template_demo_note_id
update acs_objects
set modifying_user = :modifying_user,
modifying_ip = :modifying_ip
where object_id = :template_demo_note_id
update template_demo_notes
set title = :title,
body = :body
color = :color
where template_demo_note_id = :template_demo_note_id