update for latest glm2