def update_message_type(self, message_type):
self._validate_uuid(message_type.message_type_id)<EOL>url = "<STR_LIT>".format(<EOL>message_type.message_type_id)<EOL>response = NWS_DAO().putURL(<EOL>url, self._write_headers(), self._json_body(<EOL>message_type.json_data()))<EOL>if response.status != <NUM_LIT>:<EOL><INDENT>raise DataFailureException(url, response.status, response.data)<EOL><DEDENT>return response.status<EOL>
Update an existing message type
:param message_type: is the updated message type that the
                     client wants to update