Updating database config