Added transaction to change position