updating the main.html