Update hibernate session factory connection.