updated value of global variable