synchonize access to keyValuesMap; Allow replacement of keyValuesMap