Update tasks.py