refactor cube
change stage method from update to render