replacing db url