update from script for index.html