doDelete and doPut