Update ConnectionFactory.cs