Update ConnectionFactory.scala