Update main_createdoc.php