Update logistic_regression.R