update GraphDB.py