Update get access token method from cookies