update index.html permissions