add delete functions to db helper and model base class