Don't overcomplicate things for yourself.
The design example shows OTA firmware update performed on a microcontroller using the "staging + copy" method.