Delete method deletes db entries