modified decodeXML.php and udpateLivSent.php