update serialport and apply fixes