updated index by script
creates html from json