update cookie-key ref