> ## Documentation Index
> Fetch the complete documentation index at: https://elementary-devin-1782754750-bigquery-permissions-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade Elementary dbt package

On new releases, you will need to upgrade the Elementary dbt package.

## Upgrade Elementary dbt package

1. On your `packages.yml` file, change the version to the latest:

```yml packages.yml theme={null}
packages:
  - package: elementary-data/elementary
    version: 0.25.0
```

2. Run the command:

```shell theme={null}
dbt deps
```

3. When there's a change in the structure of the Elementary tables, the minor version is raised. If you're updating a minor version (for example 0.22.X -> 0.23.X), run this command to rebuild the Elementary tables:

```shell theme={null}
dbt run --select elementary
```

<Info>
  **Note:** For CLI upgrades, refer to the [Elementary OSS upgrade guide](/oss/release-notes/upgrading-elementary#upgrade-elementary-cli).
</Info>
