delete two table model