Update max message length.