edit db routing