Fix for #2010 (updated)

Fixed bug: Added support for templates with multiple roots at _updateContent method.