> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ALTER MODEL

<a id="sql-ml-alter-model" />

Modifies the source of an [ML model](/content/ml/concepts#ml-model) and re-imports it
from that new location.  Either the *container registry* or the *container path*
can be modified.

<CodeGroup>
  ```sql CONTAINER REGISTRY theme={null}
  ALTER MODEL <model name>
  SET REGISTRY = <registry name>
  ```

  ```sql CONTAINER PATH theme={null}
  ALTER MODEL <model name>
  SET CONTAINER = '<path to container>'
  ```
</CodeGroup>

## Parameters

<AccordionGroup>
  <Accordion title="<model name>" id="<model-name>" defaultOpen>
    Name of the *ML model* to modify
  </Accordion>

  <Accordion title="REGISTRY" id="registry" defaultOpen>
    Name of the reference to the *container registry* from which to import the *ML model*
  </Accordion>

  <Accordion title="CONTAINER" id="container" defaultOpen>
    The full path to the *ML model* container within the *container registry*
  </Accordion>
</AccordionGroup>

## Examples

```sql title="ALTER MODEL Registry Example" theme={null}
ALTER MODEL temp_2c
SET REGISTRY = my_registry
```

```sql title="ALTER MODEL Container Path Example" theme={null}
ALTER MODEL temp_2c
SET CONTAINER = 'kinetica/kinetica-blackbox-sdk:r7.2.0'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.