Updating asXMLElement Java template