change delete method