update database to latest upstream 2.2.1
Merge pull request #94 from mapleoin/update-database-to-2-2-1

update database to latest upstream 2.2.1
add travis testing support