update transpose method