[filter] Update the header format when mode is toggled