update funtions added to DB interface