updated the connection pooling