feat: delete a task by index