Edit database config