Update authorized.php