RB511 upgrade issue

Hello!
I have a problem upgrading my RB511.
Current version: v3.30. When i open license window, it shows me the new Software ID.
When trying to press Update License Key button, it returns me an error: “failed: this key is upgraded and have changed software ID!”.
I tried to downgrade/upgrade software to different versions via Netinstall, but result was the same… when I upgrade to v4.x, MikroTik shows me license number is “0”.
Asking your advice! I do not want to stay at v3.30 and don’t want to lose license neither.
v3.30.jpg