db interface updated