# Realio Upgrade
## How will the Realio-Network upgrade with new Multi-staking module
### Proposose an software upgrade proposal
- We will propose an software upgrade proposal. Validators will vote for software upgrade proposal and wait for voting period pass
### Proposal passed and upgrade height reached
- When software upgrade proposal passed and the upgrade height is reached. All validators need to export current state (with old binary version)
```bash
# Export current state
realio-networkd export >> $HOME/.realio-network/config/state.json
```
### After exported state
- Download and build new binary version
```bash
cd $HOME
git clone https://github.com/realiotech/realio-network.git
cd realio-network
git checkout v0.9.0 # Need to check software version here (will update when have a final version)
make install
realio-networkd version
```
- Run node with new binary
```bash
realio-networkd start
```
## Launch Stages
|Step|When?|What do you need to do?|What is happening?|
|----|--------------------------------------------------|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|
|1 |Proposose an software upgrade proposal |Vote for software upgrade proposal|Wait for voting period passed
|2 |The proposals passed|Nothing (Do not switch to new binary) | The proposals passed with the specific chain upgrade height.
|3 |Upgrade height reached| Export current state as `state.json` (using current binary) to `$HOME/config/` | Create a new file with current state in `$HOME/config/` directory |
|4 |After exported state|Run the chain with new binary :tada: 🥂 |Reallio-Network blocks are now produced|