UART library updated