Refactor summary code
Summaries are rendered on live update