set up relationship btw tasks and subtasks, update task_id in subtasks table