updated serial interface