changing alldevices values

based on the prompt notification