edit cookiecheck