database interface updated