rename data2db.py and modify it