deleteInstance