If you buy a new key you just input it.
The issue I believe you are having is that win7 key you have is no longer valid. On an upgrade from 7 to 10 your key also gets updated, and you have to make sure you register this key to your MS account before any hardware changes, it does not do so automatically.