update the config of iot.js