s4 upgradeprovision: introduce a new function to update the field use for calculating...