updating the tasks list