Upgrade deploy script