Update extract_summary.hpp