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 G502 Hero Driver and Software Download - Logi Series
Logitech G502 HERO 16,000 dpi Gaming Mouse Review
Logitech G502 HERO Software, Driver and Manual Download