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
Logitech G Hub is stuck on Loading Resources... with my G502 Hero mice : r/LogitechG