update ws client