Update tasks.