db controller changes