Update main.htm

Update code