update cookie setting mechanism