NXP-11063: update the 'uploadIdx' after calling the uploadStarted callback