fix database upgrade
Merge pull request #357 from LipuFei/fix_db_upgrade

Fix database upgrade