def update_tag(self, tag_name, description=None,<EOL>custom_properties=None, **kwargs):
data = {'<STR_LIT:description>': description or '<STR_LIT>',<EOL>'<STR_LIT>': custom_properties or {}}<EOL>resp = self._put(self._u(self._TAG_ENDPOINT_SUFFIX, tag_name),<EOL>data=data, **kwargs)<EOL>resp.raise_for_status()<EOL>return resp.json()<EOL>
update a tag by name

        Args:
            tag_name (string): name of tag to update
            description (optional[string]): a description
            custom_properties (optional[dict]): dictionary of custom properties