Validate and Update Index.html