update cube