modify attach device