Updated for delete API