Can't get updateCollapse to work consistently.