modify transaction models