to test for get devices in update.py