Don't. Just don't. G502 HERO firmware update through G HUB is broken. Waited for over 1.5h with the mouse "updating" and not working, and at the end had to disconnect and reconnect
How To Fix Logitech Gaming Software "No Devices Detected" Error [SOLVED]
Fix: Logitech G502 Hero Not Working or Detected
How To Fix Logitech Gaming Software "No Devices Detected" Error [SOLVED]
How to Fix Logitech Gaming Software Not Detecting Mouse
Solved: Logitech Gaming Software not Opening or Detecting Windows 10 - CPUTemper