display changes in main.html