common has be renamed to spider, modify the bug in upgrade_db.py