transaction improvements and docs