code: function (nodeList, newNodes) {
  			// Unregister all childNodeLists.
  			var oldNodes = nodeLists.unregisterChildren(nodeList);
  
  			newNodes = makeArray(newNodes);
  
  			var oldListLength = nodeList.length;
  
  			// Replace oldNodeLists's contents.
  			splice.apply(nodeList, [
  				0,
  				oldListLength
  			].concat(newNodes));
  
  			// Replacements are nodes that have replaced the original element this is on.
  			// We can't simply insert elements because stache does children before parents.
  			if(nodeList.replacements){
  				nodeLists.nestReplacements(nodeList);
  				nodeList.deepChildren = nodeList.newDeepChildren;
  				nodeList.newDeepChildren = [];
  			} else {
  				nodeLists.nestList(nodeList);
  			}
  
  			return oldNodes;
  		}
docs: ## nodeLists.update Updates a nodeList with new items, i.e. when values for the template have changed.