update some config