am c87bab10: add the functions for multi-stage packages to updater

* commit 'c87bab101893e8322b49d7c8600e3367b20ab50a':
  add the functions for multi-stage packages to updater