updated ws client