server and ws update