Offline data will be lost if user update the app?

Hi there, I’m building a CRM app with list of contacts.

On my first phase, I’m saving all DATA locally. But I will keep pushing app updates to App Store and Google Play.

Question: If the user updates the app, will his data be lost?

And if you don’t mind, I would also like to know, what’s the best way to work with offline data but also automatically backup to my server in case the user has created an account (could be Airtable or Amazon)?

Thanks.