you don’t update the username, instead you update the wp_user-settings field that belongs to that user. you need to set the wp_user-settings field of that user to null first. when you log back in again, WordPress will load the default setting for that user.