update transform