Change database config