controller_manager: added a check if update_every_n_cycles parameter is valid