updating constants