update expandable list item layout based on output type and sub-type