update cookie and request dependency