Upgrade ws