Slightly changed upgrade code.
Slightly changed upgrade code.

odin-public/RESTClient-APS,mastacheata/RESTClient-APS,oa-platform/RESTClient-APS,oa-platform/RESTClient-APS,mastacheata/RESTClient-APS,oa-platform/RESTClient-APS,mastacheata/RESTClient-APS,odin-public/RESTClient-APS,odin-public/RESTClient-APS