Update CBoolean

Update CBoolean to the latest method.