update json for spc