added before save downcase to family code