Update cube.