setParams added to entities

+ new resistor function edit