parse xml method updates