Running upgrade on deploy