update dataconnection.py