# Council Daemon v1.1.2 update guide
If you running the daemon from source:
- stop the app
- pull main branch: git pull origin main
- checkout current commit: git checkout b4a77e7565ed4bfd7e5f3f7b41c1aa9f85dfe3c5
- rebuild the app: yarn build
- start the daemon: yarn start:prod
If you are using a docker image, pull the new image:
```
docker pull lidofinance/lido-council-daemon@sha256:5ddfb13b1bde0cca8db83f82310aa7ec0274b2ed3993a47416c1994926e7ae37
```
Stop previos version and then run new docker image:
```
docker run -i -t \
-v ${PWD}/.volumes/council/cache:/council/cache/ \
-p 3000:3000/tcp \
-e PORT='3000' \
-e LOG_LEVEL='debug' \
-e LOG_FORMAT='simple' \
-e RPC_URL='<rpc url>' \
-e KAFKA_SSL='true' \
-e KAFKA_SASL_MECHANISM='plain' \
-e KAFKA_USERNAME='<kafka user>' \
-e KAFKA_PASSWORD='<kafka password>' \
-e KAFKA_BROKER_ADDRESS_1='<kafka address>' \
-e KAFKA_TOPIC=defender \
-e WALLET_PRIVATE_KEY \
lidofinance/lido-council-daemon@sha256:5ddfb13b1bde0cca8db83f82310aa7ec0274b2ed3993a47416c1994926e7ae37
```
Please make sure that these variables are set correctly (creds for Kafka are the same as before):
```
RPC_URL=<mainnet RPC url>
KAFKA_USERNAME=<username>
KAFKA_PASSWORD=<password>
KAFKA_BROKER_ADDRESS_1=pkc-l7q2j.europe-north1.gcp.confluent.cloud:9092
WALLET_PRIVATE_KEY
```
The other ENV variables do not need to be changed, they should have default values:
```
PORT=3000
LOG_LEVEL=debug
LOG_FORMAT=json
PUBSUB_SERVICE=kafka
KAFKA_TOPIC=defender
KAFKA_SASL_MECHANISM=plain
KAFKA_SSL=true
```
The new version will reset the cache, the start will take about 20 minutes.