# Upgrade and roll back grafts > Upgrade an Orchard graft with a rehearsal and a snapshot, roll back to the previous version and its data, and follow a version range from Git. Source: https://docs.orchard.hackclub.com/grafts/upgrades/ Upgrading a graft can change its database schema, so `orchardctl` rehearses each upgrade and keeps a snapshot that lets you return to the previous version with its data. An upgrade or rollback changes only the graft's own schema, `ext_`. It does not change Orchard's data or the data of other grafts. ## Upgrade a graft Run the following command: ```sh sudo orchardctl graft upgrade announcements --apply ``` To upgrade all grafts, omit the ID. A graft that you installed from a file does not upgrade this way. Run `orchardctl graft add` with the newer file. The command does the following: 1. **Rehearsal:** It runs the new version's migrations against your live database, in a transaction that it rolls back. If they would fail, it shows the error and changes nothing. `--dry-run` stops here. 2. **Snapshot:** If the new version has pending migrations, it saves the graft's schema and migration history under `/etc/orchard/graft-snapshots//