updated the serial port