update boolean value