data attribute in delete action changed