added function getInfoFromHq to get person_name, role_name and other information from hq_id and fill in fields