Store glm family in db