edit database config