add delete_instance