updated filter adding_headings