update telnet thread