updated require db.php