AMBARI-4272 Use map in order to update host-components. (atkach)