update the token when re-logging, update version