update for changes in gamlr