update ws node structure