Update conn.cpp