changing the connection manager