FDA approves device to treat obesity