edit config for db connection