update optimization config