update analysis, add ref