please note the difference between ATTACH and detach:
ATTACH pushes the update request into the background and sleeps several seconds before really triggering an update.
DETACH actually does the same, but without sleeping. So after both of them you should wait 5-10 seconds before checking if the devices are available.
We are about to update the installer in order to automatically recognize the device without having to replug the device, this is mainly a configuration issue.