Update the platform name and the token.