update ways of network operation in thread, to be finished :(