Long participantId = inv.getLong("participant-id");
String name = inv.getString("name");
String chargeScript = inv.getString("charge-script");
String properties = inv.getString("properties");
if (!inv.isValid()) {
throw new UserException(document());
}
chargeScript = chargeScript.replace("\r", "").replace("\t", " ");
properties = properties.replace("\r", "").replace("\t", " ");
try {
update(Participant.getParticipant(participantId), name,