pass in the right constraints during the upgrade process