add purchases to transactions