updating main.html