Token is invalidated after using auth0.updateUser

I have a function that uses auth0.updateUser, but I found out that once it’s called, that user will be logout.
Is it invalidating the user token on purpose ? can’t find information on this.