updates from lib
added tx sending