Before updating WhatsApp to latest version, kindly make sure a local backup was performed. This is usually not required since it's performed automatically immediately after first activation of older WhatsApp 2.18.248. If you want to double-check, the local backup can be found at

<internal storage>/WhatsApp/Databases/msgstore.db.crypt12