Update xa-register.class.php