Nothing happens, indeed it is the way to update. Stop the storagenode docker, then throw it, download a new version and give the command to create it again, with the same settings
docker stop -t 300 storagenode
docker rm storagenode
docker pull storjlabs/storagenode:latest
docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967/tcp
-p 28967:28967/udp
-p 14002:14002
-e WALLET=“0xXXXXXXXXXXXXXXXXX”
-e EMAIL="user@example.com"
-e ADDRESS=“yourdomain.ddns.net:28967”
-e STORAGE=“2TB”
–mount type=bind,source="/share/storj01/identity/storagenode",destination=/app/identity
–mount type=bind,source="/share/storj01/storage",destination=/app/config
–name storagenode storjlabs/storagenode