update the delete operation to dom4j db template