Update configmanager.cpp