I agree with Bonnie. You are converting a temporary "purchase money loan" into a permanent loan which is secured by a dwelling (the lien position plays no role in determining HMDA eligibility). The loan would be reported as a purchase.
_________________________
The opinions expressed are mine and they are not to be taken as legal advice.