updating transform