You download the new one and overwrite the old one. Hax is never actually installed, it's just files on the sd card. Menuhax is the only thing somewhat installed, but even that is just an entrypoint. It's also entirely in userland making it impossible to brick.