updated UART functions