Update LP-score.R