dynamic reconfigure parameter not taking effect

confidence_threshold update through dynamic reconfigure was not being applied