update uart.c driver