update cube to use collections