WARNING: This page is about a different car, the 2023 Hyundai Palisade. However, it is still accessible from the selected car via links, so may be relevant.
Connect the DLC cable of Diagnostic tool to the data link connector (16 pins) in driver side crash pad lower panel, turn the power on Diagnostic tool.
Courtesy of HYUNDAI MOTOR AMERICA
Select the 'S/W Management' and 'Car model'.
Courtesy of HYUNDAI MOTOR AMERICA
Select the 'Smart Key Unit' and 'Smart Key Code Saving'.