small update to HGAPI