updated savemessage action