update of constants and variables