updates to GLM