Update for CComPtr method