Updating the connection stub.