update Message serialization