upgrade on each run