update forums_messages
set format = :format
where message_id = :message_id
update acs_objects
set title = :subject
where object_id = :message_id and object_type = 'forums_message'
update forums_messages
set subject = :subject,
content = :content,
format = :format
where message_id = :message_id
update forums_messages
set state = :state
where message_id = :message_id
select count(message_id)
from forums_messages
where message_id = :message_id