update predictions.r