code: def _update_properties(self, name, value):
          
          if self._auto_decode and 'properties' in self._decode_cache:
              self._decode_cache['properties'][name] = value
          self._properties[name] = value
docs: Update properties, and keep cache up-to-date if auto decode is
          enabled.
  
          :param str name: Key
          :param obj value: Value
          :return: