update resistor class