Not all computers can upgrade to Windows 10. If you have Windows 8, most likely you can upgrade to Windows 8.1. From 8.1 you might be able to go to Windows 10.
The Windows 8.1 upgrade is not in Windows Update. Go to the Windows Store on your computer and search for Windows 8.1 and it should be there.