fixed outliers -- changed from delete to update with nan