updated ROC calculation