main.html update from Max