edit cube controller structure