connect.py is updated