iLife apps update error
I just purchased a refurbished Mac Mini M1 Nov 2020. I updated the OS to Monterey 12.0.1 . Everything is working well, except I can't update the iLife apps. When I click on "Update", I get an error message that says: "[name of iLife app] cannot be updated because it was refunded or purchased with a different Apple ID."
I purchased the Mac Mini with my Apple ID, but the computer is for my wife and uses her Apple ID. I'm concerned that this may be an issue that will pop up later as well. How can I fix this? TIA for the support.
iMac 21.5″, OS X 10.11