Update firmware from .hex which already stored in flash

Hello ,

I am using SDK for mesh,
I have saved .hex image file in flash.

Is there any example or any suggestion how can I run bootloader which will read data from flash?

Thanks in advance!