updated ws call