Naive transform update. Needs some testing.