update usb code, gpio etc