Implemented updating ot the messages.