Update tasks.c