modify db interface