DeviceStorage edit function