Should I update my wife's personal data and replace the ITIN with her new SSN she got in 2021?

I updated her personal data with the SSN but my Federal e-File was rejected because the AGI doesn't match the AGI no the database, most likely because now she has a second record with no previous activity. So how do I tell the IRS that this new SSN is linked to her ITIN?
We have been filing with her ITIN for 6 years and she just got her SSN in January 2021.