fixed export as text functions
added new database library version