modify model transaction