Federal Tax got rejected when I update my spouse new SSN from last year ITIN

  This year my spouse got SSN and used it to file federal, but got rejected for wrong AGI. I tried may things but didn't work. Finally I put back her ITIN which was used last year , then federal got accepted. Do you see any issue here? How do I update my spouse SSN ?