update hook script for new html files