export TX_NEW and TX_REQUIRED
add a pool factory
added UPDATE
minor
fix tests after refactory