Added export to upgrade