Updating the Devices structure