update cookie-script