Sorry for my breaken English . All the best .
I didn't understand what your changes are above (and I warn all others do not apply these modifications
) and left the post above just in hopes it would be clarified... First of all, it's not about "changing admin's password" at all, and all posts above clearly state how to change the admin's password properly
Your code seems to do an attempt to change the admin's ID from "1" to something else, but this very wrong approach, specially when writing something like "Do every where "0" to "1"
clearly states you don't even understand what you are doing.