update head.html and index.html