update ws spec