# Upgrading Mito

{% hint style="warning" %}
Want help? Join our [Discord](https://discord.gg/XdJSZyejJU) or [Slack](https://join.slack.com/t/trymito/shared_invite/zt-1h6t163v7-xLPudO7pjQNKccXz7h7GSg) for immediate support.
{% endhint %}

First, open the terminal and virtual enviornment where Mito is installed.

```
pip install --upgrade mitosheet mito-ai
```

After running the above commands, **restart your JupyterLab kernel and refresh your browser** to load the new version of Mito. This is required for the new Mito functionality to render.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trymito.io/how-to/upgrading-mito.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
