Upgrade library, adding support for multiple database structure SQL statements