update cookie from compare page