New Passport issued for adding husband name -while in india

My wife went to kerala for delivery.To get passport for the baby my name had to be endorsed in her passport.
A new passport has been issued to her with the first and last page of old passport cancellled.
The Residence permit is in old passport
will this be a problem when she comes back with kid.
Old passport and old passport both she will be carrying.
no problem. just make sure she carries both the passports.