Update cubeOperation.js