updates the token every time