It doesn't matter whether you renewed your passport locally or in home country as your new passport (bearing new pp numbers too) superseded your current/old passport and Immigration doesn't have it in their system database, hence will not accept your first 90 reporting application online.
Firstly, one need to do, visit and do a physical visa extension stamp transfer (with photocopies of new pp) to your new passport at your area IO together with transfer application form available there. Once transfer completed and approved.
Then wait till last 2 weeks window period of your 90 days reporting, then make another trip to your area IO to do your 90 days reporting in person. Subsequent reportings can be easily done and accepted "online(easiest)/post/in person".
FYI, I've used and changed 3 pps previously, all have to go thru the above without a doubt.
Hope it helps,