update some constant