remove speak-api if in config
removed jupdateDeviceInConfig function