transaction update functionality