add config for slave database