generate from json file
update spec