populate cube using prototype cube API