update_glm function

Refitting Generalized Linear Models