> ## 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

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

```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>'
```

## Parameters

> [accordion] \<model name>
>
> Name of the *ML model* to modify

> [accordion] REGISTRY
>
> Name of the reference to the *container registry* from which to import the *ML model*

> [accordion] CONTAINER
>
> The full path to the *ML model* container within the *container registry*

## 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.