update file struct of html