update configuration to use a class for the connection