Update error with xml format