analysis template, views and model update