update bool