revise db setting