added route to updateAllDevices