added delete method for db widget, ref #90