The solution was simple. The Transform wasn’t changing because I was pushing the Cube component, not the root. Later, when I tried to get self Transform it obviously gave me the unchanged Transform of the root.
So I replaced the root with the Cube component and it worked perfectly.