Writes on db_config