Add update_content() helper so code outside of history module does not need to know details of the message structure.