Update tasks.php