frontend & serial port reading update