To avoid potential problems, you should format your computer and do a fresh clean install.
Windows You might like the new hardware, or may not, but probably "be aware" of changing hardware and some messages ... The fact is that I have not tried it, but do not expect anything good.
I'll say again, format the hard drive and do a clean install, you will save headaches.
[EDIT]
From infopackets.com
Rumor has it that in order to do a clean install -and- retain your free license to Windows 10, you must first install Windows 10 using an in-place upgrade; this is done from within an existing Windows desktop environment via "Get Windows 10 app". After that, you can then do a clean install using a Windows 10 DVD as many times as you want.
The license for Windows 10 will be valid for the life of the device, and any subsequent clean installs will automatically register with Microsoft without requiring you to enter a serial number ever again. The free Windows 10 license is valid providing that you don't make any major hardware changes (such as a new motherboard, which technically constitutes a new computer). A new hard drive, for example, is not a major hardware change. Therefore the free Windows 10 license is tied to specific hardware (such as motherboard, CPU, RAM, etc).
So, no, you lose your "free" license with a major upgrade like the one you asking...