update config for all devices