add lookupTargetByOS function
update and insert distro target information