cube and stack representation update