- add roll back API to switch the running partition - do not write the partition magic until the end to prevent booting into partially written update
- add roll back API to switch the running partition - do not write the partition magic until the end to prevent booting into partially written update