updated analysis_type