update database interface