function for serial port communicate
update serialPortservice