Upgrade script for DWH