Edit cookies (based on public sample)