preview updated and JSON added