database controller changes