minor code cleanup of the sparse glm update.