delete old templates
edit render to fit the new json