edit db configuration