Db.php edit