modify xml back