updated documentation
transaction API, unfinished