change database config