Improved the upgrading process