update collapsible panel type