Update SerialCtrl using clear buffer

Signed-off-by: Hoang Anh Tuan <anhtuan0105@gmail.com>