add clear and update loadTasks