update the json format of a submission