update db.php add lost private  and some  modify