update modle.R to actually install correct packages