revision source of insertDB.py