web socket server and sample app update