updating the messages