Update transformer.