modify database interface