update unit type mapping based on the most recent pte