added message_id to submit_sm