update get_and_check_params in lcm