---
title: "system.mes.analysis.updateCustomValueSources(Collection<CustomValueSource> registerValueSources, Collection<String> unregisterValueSourceNames)"
id: "system-mes-analysis-updatecustomvaluesources-collection-customvaluesource-registervaluesources-colle"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/system-mes-analysis-updatecustomvaluesources-collection-customvaluesource-registervaluesources-colle"
updated: 2026-07-31T14:55:55Z
---

# system\.mes\.analysis\.updateCustomValueSources\(Collection\<CustomValueSource\> registerValueSources, Collection\<String\> unregisterValueSourceNames\)

**Sepasoft MES Module Suite**

###  system.mes.analysis.updateCustomValueSources(Collection&lt;CustomValueSource&gt; registerValueSources, Collection&lt;String&gt; unregisterValueSourceNames)

Unregisters a collection of custom value-sources by name from the MES Analysis Engine. Registers a collection of custom value-source objects to the MES Analysis Engine. The configuration lock is only obtained once for all arguments.

#### Parameters
**registerValueSources**: A collection of custom value-source objects to register with the MES Analysis Engine.

**unregisterValueSourceNames**: A collection of custom value-source names to unregister from the MES Analysis Engine.

**Sepasoft MES Module Suite**