Added code to render changes in html.