added delete all function in db