Update connecting.py