support delete instance.