updated comments on database.php