update constant values