Update xml type