As long as you didn't buy the OEM version of Windows 8 you will be fine. The OEM version is tied to your motherboard so if you change your motherboard you have to buy the OS again.
Simply use
The Magical Jelly Bean Keyfinder to extract your windows 8 key, record it somewhere. Then simply back up the data on your HDD and perform your upgrade.
You can reinstall Windows 8 with the key you have recorded. I really hate reinstalling my OS and all my programs and games but you might not reap the full benefits of your new motherboard unless you perform a clean install of your OS.