updated core xirsys php class