Update wrdoc.php