Updated cookie policy code