chaning database config