Update for devices does not work as expected for file store system
Description
A loadedDevice is instatiated with empty values (line 128) and then added to the device array (line 137) without setting any of the values. This leads to writing empty devices to the file during the update process.
(Need to check for other file stores if they also use the update function)
Expected Behavior
The update function correctly writes current and changed values to the file.
Possible Fix
Actually set values to the loadedDevice before adding to the array.