update store cookie