set updateToken public in AccesToken class