Update the fields based on new json