Update cube.c