update get_token