update dynamicAllocation case, method1, 2