# Performance improvements

**Version:** v2.33.0

**Published:** September 8, 2022

Upgrade the Command Line Interface (CLI) with:

**npm**

```shell
npm install --global @sanity/cli 
```

**pnpm**

```shell
pnpm add --global @sanity/cli 
```

**yarn**

```shell
yarn global add @sanity/cli 
```

**bun**

```shell
bun add -g @sanity/cli 
```

Upgrade Sanity Studio with:

```
sanity upgrade 
```

# ✨ Highlights

## Performance improvements

This release brings a number of performance improvements, mostly related to excessive re-rendering of components that do not change. Notable improvements are:

- Better performance for presence indicators when many users are logged in at the same time
- The Portable Text Editor should be faster and re-render less often

# 🐛 Notable bugfixes

- Mitigated an issue that could cause a draft document to be overwritten by an earlier version after publish
- The Presence list in the toolbar will now only show users who are working in the same dataset



