update message's format