update register.php