modify the messages