add set_message_cb