change the message struct