update closure global