keep track of original xml string in old parser
reduce memory usage for each XMLPatent class
fix update.sh bugs when using root directory