ref_transaction_prepare(): new optional step for reference updates