fixed summarize function and refactored meta content update functions