updated uart driver