def save_writable_attributes(asset, attributes)
      valid_keys = [:parent, :path]
      accessable_attributes = {}
      attributes.each do |key, value|
         accessable_attributes[key] = value.dup if valid_keys.include?(key)
      end
      asset.configuration.save(accessable_attributes)
    end
def save_writable_attributes(asset, attributes)
      valid_keys = [:parent, :path]
      accessable_attributes = {}
      attributes.each do |key, value|
         accessable_attributes[key] = value.dup if valid_keys.include?(key)
      end
      asset.configuration.save(accessable_attributes)
    end
write only the attributes that we have set