update unchangeable vars to constants.