Update an existing message type
        :param message_type: is the updated message type that the
                             client wants to update

def update_message_type(self, message_type):
        """
        Update an existing message type
        :param message_type: is the updated message type that the
                             client wants to update
        """
        self._validate_uuid(message_type.message_type_id)

        url = "/notification/v1/message-type/{}".format(
            message_type.message_type_id)
        response = NWS_DAO().putURL(
            url, self._write_headers(), self._json_body(
                message_type.json_data()))

        if response.status != 204:
            raise DataFailureException(url, response.status, response.data)
        return response.status