Do you know if it would also work for my old laptop running on Windows XP?
I never attempted to update from XP -> 10 direct... and I don't think it is actually possible. Everything I did was Windows 7 -> 10, and my understanding is that you need Windows 7 as a
minimum starting point. So, I believe the trick was to go WinXP -> Win7 (or Win8 etc) -> Win10 (
https://www.zdnet.com/article/how-to-migrate-from-windows-xp-to-windows-10-in-8-reboots-or-less/)... noting that you need a "spare" Windows 7 or Windows 8 license to do this.
Also, if it's an older laptop with WinXP, there is a good chance that it might not meet
the minimum system requirements for Windows 10... check those and make sure your laptop is capable.