Before updating the QuickBooks to the latest version it's recommended that you take the full backup of your data file and then pursue with the up-gradation. Once the QuickBooks is updated to the latest version then you can browse the file where it is located and restore it, you will see the complete data into the new version of QuickBooks without any QuickBooks Data Corruption.
Sometime it's tricky updating the data file could be due to some server issue like heavy traffic etc., If such scenario exists always suggested to wait for some time and try back later. Having the regular backup of your QuickBooks Data File is must so that you never lost your hard worked data and its available to you on your all devices. Reach out to support team for any issue faced related to QuickBooks Data File.