change transaction order