added two new fields to xml for sensor type and its unit.