updating cookies details