update getinfo
attach device
modify attachdevice