update some constants