Update performConnection.c