This depends on the phone used. The latest Nokia phones are able to keep personal data in place - but there is an issue with older phones. It is highly recommended to take a backup before the firmware update.

If the applications were downloaded from Nokia Store you can easily redownload them by signing into Nokia Store website and accessing My Stuff.