cookies updated to smarter cookies