Update ps-register.php