update to apiv2
fix multi-select when only 1 dim found
fixes for when there are no dims and layerName fixes