update device settings