update transformer