add upgrade parameter for loading configuration from disk

Change-Id: I13bdc3eaca6ea1d22893f6174bee1ecf8c546a62