Update globalvars.c