code: public static void storeStatusUpdateTemplateNode(
  			final AbstractGraphDatabase graphDatabase, final String templateId,
  			final Node templateNode, final Node previousTemplateNode) {
  		// remove node of the latest previous template version
  		if (previousTemplateNode != null) {
  			INDEX_STATUS_UPDATE_TEMPLATES.remove(previousTemplateNode,
  					IDENTIFIER, templateId);
  		}
  
  		// add the new template node
  		INDEX_STATUS_UPDATE_TEMPLATES.add(templateNode, IDENTIFIER, templateId);
  	}
docs: store a status update template node in the index replacing previous
  occurrences
  
  @param graphDatabase
  graph database to operate on
  @param templateId
  template identifier
  @param templateNode
  template node that shall be stored
  @param previousTemplateNode
  node of the latest previous template version