Updated debug message and debugged type miss in updateTorqueControllerParam