modify delete_task