update main.html and route