update some options