Update applied to ConnectionFactory.java