Clean up the update class a bit. Don't need massively duplicated code.
Add device name to config values. Send it to the updater and setup program.