modify python xml post