Updated the connection plugin