add state dict, tmpl instance and content blocks