update globalconfig in unit tests