assert device for updater script