config and db_connect updated