update the cookie settings