add cube resource