update code and main.html
update link