change optimizer params