Yes. Passport and BRP card must have matching details. If your wife will change her passport details, she needs to apply for a BRP replacement to match what's in the passport. But you cannot replace a BRP unless there are changes in the passport or it's lost/stolen.