Update the ID in uploder

After uploading the file, I would like to change the ID to a new ID using the changeId method.
I tried to use changeId after onFileUpload event, but I get an error.
Can I get some help?
Thanks!

my snippet > Code Snippet

Hello, @Hy.Ku
Could you share what error message do you get?
I have tested your snippet and that is the result that I have in console:

I should have checked more carefully, but there was a mistake.
My source file version was the cause.
Upgrading from 9.2.2 to 9.2.3 resolved the issue.
Thank you for your interest and time!