update cookies.py