update gen_doc.php comments