Fixed up the xbmc update portion of the script