Updated transactions example