change cookie library