config reload logic