update optional params in cli