before updating index.html