update tasks.py