Sync everything before upgrading. Your contacts, calendar entries, SMS, settings, etc will stay when you re-sync from the backup after upgrading.,
You will obviously loose your apps and will have to reinstall them.
To the orginal poster, read the iPhone sticky and other iphone threads before doing anything, you might downgrade bootloader with Ziphone 2.5 and regret later. There are other ways to unlock now without downgrading bootloader or using Ziphone 2.5.
Also its recommended to restore rather than upgrade, syncing after restoring is not a good idea, except perhaps contacts, lost of people ahave been reporting issues after syncing back their settings etc, better to set up as new phone