Update with message encoding.