update stacking