Update a global variable of a HC2 or an HCL