changes for delete action