update ws config