Updated XBMC patch method