split update into two transactions (new installation have shipping index already correct)
allow to specify pre-actions in conf/global.php using $onxshop_pre_actions