added updateConnection to TConnector allowing for connection update loop to be extended internally