changed updateTasks.php