added delete to backend