update hostmetric struct