update cubePuzzleController