update oject return as xml