Update reg_check.php