updating cookie settings