changed transaction api