updating html to validate documents