update serial communication