only update global values if not explicitly set