update json reference in index