updates cookieManager