It should be.
But you can't really know how the current version was installed or its origins. -You might face other issues down the line.
I recommend reinstalling it directly from Microsoft.
However, if you opt to keep the current installation, here is how to change the product key once you buy...