update with new typeAnalysis