updating scala xml post