updates cookie doc