Difference between bitcoin-cli getnetworkinfo version and bitcoind –version

I tried to upgrade bitcoin core from 0.18.0 to 0.20.0.

When I ask for the version through bitcoind bitcoind --version it prints Bitcoin Core version v0.20.0 but if I ask for the version through bitcoin-cli bitcoin-cli getnetworkinfo it prints "subversion": "/Satoshi:0.18.0/"

How is this possible that this is not the same?