update tranform method